Syde\Vendor\Inpsyde\PayoneerForWoocommerce\PaymentGateway\Gateway\Factory\Customer\WcOrderBasedCustomerFactory S

Total Complexity 22
Dependencies 16
Dependents 1
Total lines 194
Lines of code 87
Logical lines of code 54
Comment lines 57
Methods 9
Properties 7

Methods 9

Method Rating Maintainability Complexity Lines of code
createRegistrationFromOrder()
S
60 3 13
createBillingAddressFromOrder()
S
60 3 12
createShippingAddressFromOrder()
S
60 3 12
createCustomer()
S
56 2 20
createPhoneArrayFromOrder()
S
68 3 7
createAddresses()
S
65 3 8
getBillingPostcodeOrFallback()
S
78 2 3
getShippingPostcodeOrFallback()
S
78 2 3
__construct()
S
65 1 9